package com.tarena.lbs.activity.dao.repository;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.github.pagehelper.PageInfo;
import com.tarena.lbs.activity.pojo.param.ActivityAddParam;
import com.tarena.lbs.activity.pojo.po.ActivityPO;
import com.tarena.lbs.activity.pojo.query.ActivityQuery;
import com.tarena.lbs.activity.pojo.vo.ActivityVO;

import java.util.List;

public interface ActivityRepository {

    void saveActivity(ActivityPO activityPO);

    ActivityPO getById(Integer id);
    List<ActivityPO> list(ActivityQuery query);

    void updateStatus(ActivityPO po);

    void deleteById(Integer id);
}
